package com.qymerge.manage.base.dao;

import com.qymerge.manage.base.ro.MetaOrgRO;
import com.qymerge.manage.base.ro.OrganizationalStructureRO;
import com.qymerge.manage.core.bean.PageRequest;

import java.util.List;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 *
 * @author Xiao
 * @date 2025/4/29 16:53
 * @version 1.0.0
 */
public interface IMetaOrgDao {

    List list(MetaOrgRO ro, PageRequest pageRequest);

    int total(MetaOrgRO ro);

    List<MetaOrgRO> findAll(MetaOrgRO ro);

    MetaOrgRO findOne(Long id);

    List<MetaOrgRO> findAllByParentId(Long id);

    int insert(MetaOrgRO ro);

    int update(MetaOrgRO ro);

    int remove(long secondParentId);
}
